<template>
  <div>
    <el-scrollbar height="calc(100vh - 90px)">
      <el-form ref="form" :inline="true" :model="medicalRecordsFrom" :rules="rules">

        <div class="main-block">
          <el-row>
            <div class="top-title">住院病案首页</div>
          </el-row>

          <el-row>
            <el-form-item prop="glh" class="medical-form-item">
              <template #label>
                <div>住院流水号</div>
                <div v-if="checkObject.glh">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.glh.content"
                    :visible="checkObject.glh.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button"
                        @click="upCheckObjectVisible('checkObject', 'glh')">{{
                          checkObject.glh.label }}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.glh" :content="medicalRecordsFrom.glh" placement="top">
                  <el-input v-model="medicalRecordsFrom.glh" style="width: 500px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>

          <el-row>
            <el-form-item prop="ylfkfs" class="medical-form-item">
              <template #label>
                <div>医疗付费方式</div>
                <div v-if="checkObject.ylfkfs">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.ylfkfs.content"
                    :visible="checkObject.ylfkfs.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button"
                        @click="upCheckObjectVisible('checkObject', 'ylfkfs')">{{
                          checkObject.ylfkfs.label }}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.ylfkfs" filterable :remote="readOnly" style="width: 190px"
                  :placeholder="readOnly ? ' ' : '请选择医疗付费方式'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.ylfkfsOptions" :key="item.value" :label="item.label"
                    :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>

            <el-form-item class="medical-form-item">
              <template #label>
                <div>健康卡号</div>
                <div v-if="checkObject.jkkh">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.jkkh.content"
                    :visible="checkObject.jkkh.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button"
                        @click="upCheckObjectVisible('checkObject', 'jkkh')">{{
                          checkObject.jkkh.label }}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.jkkh" :content="medicalRecordsFrom.jkkh" placement="top">
                  <el-input v-model="medicalRecordsFrom.jkkh" style="width: 100px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>

            <el-form-item prop="zycs" class="medical-form-item">
              <template #label>
                <div>第</div>
                <div v-if="checkObject.zycs">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zycs.content"
                    :visible="checkObject.zycs.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button"
                        @click="upCheckObjectVisible('checkObject', 'zycs')">{{
                          checkObject.zycs.label }}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zycs" :content="medicalRecordsFrom.zycs" placement="top">
                  <el-input v-model="medicalRecordsFrom.zycs" style="width: 40px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
              <div class="from-item-label">次住院</div>
            </el-form-item>

            <el-form-item prop="bah" class="medical-form-item">
              <template #label>
                <div>病案号No</div>
                <div v-if="checkObject.bah">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.bah.content"
                    :visible="checkObject.bah.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button"
                        @click="upCheckObjectVisible('checkObject', 'bah')">{{
                          checkObject.bah.label }}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.bah" :content="medicalRecordsFrom.bah" placement="top">
                  <el-input v-model="medicalRecordsFrom.bah" style="width: 140px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>
        </div>

        <div class="main-block">
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>姓名</div>
                <div v-if="checkObject.xm">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.xm.content" :visible="checkObject.xm.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','xm')">{{checkObject.xm.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.xm" :content="medicalRecordsFrom.xm" placement="top">
                  <el-input v-model="medicalRecordsFrom.xm" style="width: 100px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>性别</div>
                <div v-if="checkObject.xb">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.xb.content" :visible="checkObject.xb.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','xb')">{{checkObject.xb.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.xb" filterable :remote="readOnly" style="width: 120px" :placeholder="readOnly ? ' ' : '请选择性别'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.xbOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>出生日期</div>
                <div v-if="checkObject.csrq">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.csrq.content" :visible="checkObject.csrq.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','csrq')">{{checkObject.csrq.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.csrqy" :content="medicalRecordsFrom.csrqy" placement="top">
                  <el-input v-model="medicalRecordsFrom.csrqy" style="width: 60px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
              <div class="from-item-label">年</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.csrqm" :content="medicalRecordsFrom.csrqm" placement="top">
                  <el-input v-model="medicalRecordsFrom.csrqm" style="width: 40px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
              <div class="from-item-label">月</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.csrqd" :content="medicalRecordsFrom.csrqd" placement="top">
                  <el-input v-model="medicalRecordsFrom.csrqd" style="width: 40px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
              <div class="from-item-label">日</div>
            </el-form-item>
            
            <el-form-item prop="nl" class="medical-form-item">
              <template #label>
                <div>年龄</div>
                <div v-if="checkObject.nl">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.nl.content" :visible="checkObject.nl.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','nl')">{{checkObject.nl.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.nl" :content="medicalRecordsFrom.nl" placement="top">
                  <el-input v-model="medicalRecordsFrom.nl" style="width: 40px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>国籍</div>
                <div v-if="checkObject.gj">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.gj.content" :visible="checkObject.gj.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','gj')">{{checkObject.gj.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.gj" filterable :remote="readOnly" style="width: 140px" :placeholder="readOnly ? ' ' : '请选择国籍'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.gjOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>(年龄不足1周岁的)年龄</div>
                <div v-if="checkObject.bzyzsnl">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.bzyzsnl.content" :visible="checkObject.bzyzsnl.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','bzyzsnl')">{{checkObject.bzyzsnl.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.bzyzsnl" :content="medicalRecordsFrom.bzyzsnl" placement="top">
                  <el-input v-model="medicalRecordsFrom.bzyzsnl" style="width: 60px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
              <div class="from-item-label">月</div>
            </el-form-item>
              
            <el-form-item class="medical-form-item">
              <template #label>
                <div>新生儿出生体重</div>
                <div v-if="checkObject.xsecstz">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.xsecstz.content" :visible="checkObject.xsecstz.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','xsecstz')">{{checkObject.xsecstz.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.xsecstz" :content="medicalRecordsFrom.xsecstz" placement="top">
                  <el-input v-model="medicalRecordsFrom.xsecstz" style="width: 80px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
              <div class="from-item-label">克</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>新生儿入院体重</div>
                <div v-if="checkObject.xserytz">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.xserytz.content" :visible="checkObject.xserytz.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','xserytz')">{{checkObject.xserytz.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.xserytz" :content="medicalRecordsFrom.xserytz" placement="top">
                  <el-input v-model="medicalRecordsFrom.xserytz" style="width: 80px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
              <div class="from-item-label">克</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>婚姻</div>
                <div v-if="checkObject.hy">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.hy.content" :visible="checkObject.hy.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','hy')">{{checkObject.hy.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.hy" filterable :remote="readOnly" style="width: 120px" :placeholder="readOnly ? ' ' : '请选择婚姻'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.hyOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>出生地</div>
                <div v-if="checkObject.csd">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.csd.content" :visible="checkObject.csd.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','csd')">{{checkObject.csd.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.csd" :content="medicalRecordsFrom.csd" placement="top">
                  <el-input v-model="medicalRecordsFrom.csd" style="width: 300px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>籍贯</div>
                <div v-if="checkObject.gg">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.gg.content" :visible="checkObject.gg.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','gg')">{{checkObject.gg.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-input v-model="medicalRecordsFrom.gg" style="width: 300px" :disabled="readOnly"></el-input>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>民族</div>
                <div v-if="checkObject.mz">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.mz.content" :visible="checkObject.mz.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','mz')">{{checkObject.mz.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.mz" filterable :remote="readOnly" style="width: 140px" :placeholder="readOnly ? ' ' : '请选择民族'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.mzOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>身份证号</div>
                <div v-if="checkObject.sfzh">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.sfzh.content" :visible="checkObject.sfzh.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','sfzh')">{{checkObject.sfzh.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.sfzh" :content="medicalRecordsFrom.sfzh" placement="top">
                  <el-input v-model="medicalRecordsFrom.sfzh" style="width: 300px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item prop="zy" class="medical-form-item">
              <template #label>
                <div>职业</div>
                <div v-if="checkObject.zy">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zy.content" :visible="checkObject.zy.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zy')">{{checkObject.zy.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.zy" filterable :remote="readOnly" style="width: 300px" :placeholder="readOnly ? ' ' : '请选择职业'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.zyOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>现住址</div>
                <div v-if="checkObject.xzz">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.xzz.content" :visible="checkObject.xzz.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','xzz')">{{checkObject.xzz.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.xzz" :content="medicalRecordsFrom.xzz" placement="top">
                  <el-input v-model="medicalRecordsFrom.xzz" style="width: 450px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>电话</div>
                <div v-if="checkObject.dh">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.dh.content" :visible="checkObject.dh.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','dh')">{{checkObject.dh.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.jkkh" :content="medicalRecordsFrom.dh" placement="top">
                  <el-input v-model="medicalRecordsFrom.dh" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>邮政编码</div>
                <div v-if="checkObject.yb1">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.yb1.content" :visible="checkObject.yb1.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','yb1')">{{checkObject.yb1.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.yb1" :content="medicalRecordsFrom.yb1" placement="top">
                  <el-input v-model="medicalRecordsFrom.yb1" style="width: 100px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>户口地址</div>
                <div v-if="checkObject.hkdz">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.hkdz.content" :visible="checkObject.hkdz.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','hkdz')">{{checkObject.hkdz.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.hkdz" :content="medicalRecordsFrom.hkdz" placement="top">
                  <el-input v-model="medicalRecordsFrom.hkdz" style="width: 630px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>邮政编码</div>
                <div v-if="checkObject.yb2">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.yb2.content" :visible="checkObject.yb2.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','yb2')">{{checkObject.yb2.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-input v-model="medicalRecordsFrom.yb2" style="width: 100px" :disabled="readOnly"></el-input>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>工作单位及地址</div>
                <div v-if="checkObject.gzdwjdz">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.gzdwjdz.content" :visible="checkObject.gzdwjdz.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','gzdwjdz')">{{checkObject.gzdwjdz.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.gzdwjdz" :content="medicalRecordsFrom.gzdwjdz" placement="top">
                  <el-input v-model="medicalRecordsFrom.gzdwjdz" style="width: 400px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>电话</div>
                <div v-if="checkObject.dwdh">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.dwdh.content" :visible="checkObject.dwdh.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','dwdh')">{{checkObject.dwdh.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.dwdh" :content="medicalRecordsFrom.dwdh" placement="top">
                  <el-input v-model="medicalRecordsFrom.dwdh" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>邮政编码</div>
                <div v-if="checkObject.yb3">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.yb3.content" :visible="checkObject.yb3.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','yb3')">{{checkObject.yb3.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.yb3" :content="medicalRecordsFrom.yb3" placement="top">
                  <el-input v-model="medicalRecordsFrom.yb3" style="width: 100px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>联系人姓名</div>
                <div v-if="checkObject.lxrxm">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.lxrxm.content" :visible="checkObject.lxrxm.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','lxrxm')">{{checkObject.lxrxm.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.lxrxm" :content="medicalRecordsFrom.lxrxm" placement="top">
                  <el-input v-model="medicalRecordsFrom.lxrxm" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>关系</div>
                <div v-if="checkObject.gx">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.gx.content" :visible="checkObject.gx.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','gx')">{{checkObject.gx.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.gx" filterable :remote="readOnly" style="width: 120px" :placeholder="readOnly ? ' ' : '请选择关系'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.gxOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>地址</div>
                <div v-if="checkObject.dz">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.dz.content" :visible="checkObject.dz.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','dz')">{{checkObject.dz.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.dz" :content="medicalRecordsFrom.dz" placement="top">
                  <el-input v-model="medicalRecordsFrom.dz" style="width: 300px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>电话</div>
                <div v-if="checkObject.dh2">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.dh2.content" :visible="checkObject.dh2.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','dh2')">{{checkObject.dh2.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.dh2" :content="medicalRecordsFrom.dh2" placement="top">
                  <el-input v-model="medicalRecordsFrom.dh2" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>入院途径</div>
                <div v-if="checkObject.rytj">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.rytj.content" :visible="checkObject.rytj.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','rytj')">{{checkObject.rytj.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.rytj" filterable :remote="readOnly" style="width: 300px" :placeholder="readOnly ? ' ' : '请选择入院途径'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.rytjOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>转科类别</div>
                <div v-if="checkObject.zkkb">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zkkb.content" :visible="checkObject.zkkb.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zkkb')">{{checkObject.zkkb.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.zkkb" filterable :remote="readOnly" style="width: 300px" :placeholder="readOnly ? ' ' : '请选择转科类别'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.kbOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
          </el-row>

          <el-row>
            <el-form-item prop="rysj" class="medical-form-item">
              <template #label>
                <div>入院时间</div>
                <div v-if="checkObject.rysj">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.rysj.content" :visible="checkObject.rysj.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','rysj')">{{checkObject.rysj.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.rysj" :content="medicalRecordsFrom.rysj" placement="top">
                  <el-input v-model="medicalRecordsFrom.rysj" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>入院科别</div>
                <div v-if="checkObject.rykb">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.rykb.content" :visible="checkObject.rykb.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','rykb')">{{checkObject.rykb.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.rykb" filterable :remote="readOnly" style="width: 300px" :placeholder="readOnly ? ' ' : '请选择关系'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.kbOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>病室</div>
                <div v-if="checkObject.rybf">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.rybf.content" :visible="checkObject.rybf.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','rybf')">{{checkObject.rybf.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.rybf" :content="medicalRecordsFrom.rybf" placement="top">
                  <el-input v-model="medicalRecordsFrom.rybf" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item prop="cysj" class="medical-form-item">
              <template #label>
                <div>出院时间</div>
                <div v-if="checkObject.cysj">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.cysj.content" :visible="checkObject.cysj.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','cysj')">{{checkObject.cysj.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.cysj" :content="medicalRecordsFrom.cysj" placement="top">
                  <el-input v-model="medicalRecordsFrom.cysj" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>出院科别</div>
                <div v-if="checkObject.cykb">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.cykb.content" :visible="checkObject.cykb.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','cykb')">{{checkObject.cykb.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.cykb" filterable :remote="readOnly" style="width: 300px" :placeholder="readOnly ? ' ' : '请选择关系'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.kbOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>病室</div>
                <div v-if="checkObject.cybf">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.cybf.content" :visible="checkObject.cybf.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','cybf')">{{checkObject.cybf.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.cybf" :content="medicalRecordsFrom.cybf" placement="top">
                  <el-input v-model="medicalRecordsFrom.cybf" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>实际住院</div>
                <div v-if="checkObject.sjzyts">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.sjzyts.content" :visible="checkObject.sjzyts.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','sjzyts')">{{checkObject.sjzyts.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.sjzyts" :content="medicalRecordsFrom.sjzyts" placement="top">
                  <el-input v-model="medicalRecordsFrom.sjzyts" style="width: 60px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
              <div class="from-item-label">天</div>
            </el-form-item>
          </el-row>

          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>门（急）诊诊断</div>
                <div v-if="checkObject.mzzd">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.mzzd.content" :visible="checkObject.mzzd.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','mzzd')">{{checkObject.mzzd.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.mzzd" :content="medicalRecordsFrom.mzzd" placement="top">
                  <el-input v-model="medicalRecordsFrom.mzzd" style="width: 520px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>疾病编码</div>
                <div v-if="checkObject.jbbm">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.jbbm.content" :visible="checkObject.jbbm.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','jbbm')">{{checkObject.jbbm.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.jbbm" :content="medicalRecordsFrom.jbbm" placement="top">
                  <el-input v-model="medicalRecordsFrom.jbbm" style="width: 200px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>

                    <!-- 诊断表格 -->
                    <el-row class="row-table row-table-head">
            <el-col :span="6" class="col-table-head">
              <div class="from-item-label col-table-text">出院诊断</div>
            </el-col>
            <el-col :span="6" class="col-table-head">
              <div class="from-item-label col-table-text">疾病编码</div>
            </el-col>
            <el-col :span="12" class="col-table-head">
              <div class="from-item-label col-table-text">入院病情</div>
            </el-col>
          </el-row>
          <el-row class="row-table">
            <el-col :span="6" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject.zyzd">
                    <el-popover placement="bottom" trigger="click" :content="checkObject.zyzd.content" :visible="checkObject.zyzd.visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zyzd')">{{checkObject.zyzd.label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom.zyzd" :content="medicalRecordsFrom.zyzd" placement="top">
                    <el-input v-model="medicalRecordsFrom.zyzd" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="6" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject.jbdm">
                    <el-popover placement="bottom" trigger="click" :content="checkObject.jbdm.content" :visible="checkObject.jbdm.visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','jbdm')">{{checkObject.jbdm.label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom.jbdm" :content="medicalRecordsFrom.jbdm" placement="top">
                    <el-input v-model="medicalRecordsFrom.jbdm" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="12" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject.rybq">
                    <el-popover placement="bottom" trigger="click" :content="checkObject.rybq.content" :visible="checkObject.rybq.visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','rybq')">{{checkObject.rybq.label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom.rybq" :content="medicalRecordsFrom.rybq" placement="top">
                    <el-input v-model="medicalRecordsFrom.rybq" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row v-for="i in 20" class="row-table">
            <el-col :span="6" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['zyzd'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['zyzd'+i].content" :visible="checkObject['zyzd'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zyzd'+i)">{{checkObject['zyzd'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['zyzd'+i]" :content="medicalRecordsFrom['zyzd'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['zyzd'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="6" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['jbdm'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['jbdm'+i].content" :visible="checkObject['jbdm'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','jbdm'+i)">{{checkObject['jbdm'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['jbdm'+i]" :content="medicalRecordsFrom['jbdm'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['jbdm'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="12" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['rybq'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['rybq'+i].content" :visible="checkObject['rybq'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','rybq'+i)">{{checkObject['rybq'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['rybq'+i]" :content="medicalRecordsFrom['rybq'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['rybq'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
          </el-row>

          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>损伤、中毒的外部原因</div>
                <div v-if="checkObject.wbyy">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.wbyy.content" :visible="checkObject.wbyy.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','wbyy')">{{checkObject.wbyy.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.wbyy" :content="medicalRecordsFrom.wbyy" placement="top">
                  <el-input v-model="medicalRecordsFrom.wbyy" style="width: 450px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>疾病编码</div>
                <div v-if="checkObject.h23">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.h23.content" :visible="checkObject.h23.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','h23')">{{checkObject.h23.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.h23" :content="medicalRecordsFrom.h23" placement="top">
                  <el-input v-model="medicalRecordsFrom.wbyy" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>

          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>病理诊断</div>
                <div v-if="checkObject.blzd">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.blzd.content" :visible="checkObject.blzd.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','blzd')">{{checkObject.blzd.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.blzd" :content="medicalRecordsFrom.blzd" placement="top">
                  <el-input v-model="medicalRecordsFrom.blzd" style="width: 350px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>病理号</div>
                <div v-if="checkObject.blh">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.blh.content" :visible="checkObject.h23.visible">
                    <template #reference>blh
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','blh')">{{checkObject.blh.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.blh" :content="medicalRecordsFrom.blh" placement="top">
                  <el-input v-model="medicalRecordsFrom.wbyy" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>疾病编码</div>
                <div v-if="checkObject.jbmm">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.jbmm.content" :visible="checkObject.jbmm.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','jbmm')">{{checkObject.jbmm.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.jbmm" :content="medicalRecordsFrom.jbmm" placement="top">
                  <el-input v-model="medicalRecordsFrom.wbyy" style="width: 150px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>药物过敏</div>
                <div v-if="checkObject.ywgm">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.ywgm.content" :visible="checkObject.ywgm.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ywgm')">{{checkObject.ywgm.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.ywgm" :content="medicalRecordsFrom.ywgm" placement="top">
                  <el-input v-model="medicalRecordsFrom.wbyy" style="width: 130px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>过敏药物</div>
                <div v-if="checkObject.gmyw">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.gmyw.content" :visible="checkObject.gmyw.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','gmyw')">{{checkObject.gmyw.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.gmyw" :content="medicalRecordsFrom.gmyw" placement="top">
                  <el-input v-model="medicalRecordsFrom.wbyy" style="width: 130px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>死亡患者尸检</div>
                <div v-if="checkObject.swhzsj">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.swhzsj.content" :visible="checkObject.swhzsj.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','swhzsj')">{{checkObject.swhzsj.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.swhzsj" :content="medicalRecordsFrom.swhzsj" placement="top">
                  <el-input v-model="medicalRecordsFrom.swhzsj" style="width: 130px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>血型</div>
                <div v-if="checkObject.xx">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.xx.content" :visible="checkObject.xx.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','xx')">{{checkObject.xx.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.xx" :content="medicalRecordsFrom.xx" placement="top">
                  <el-input v-model="medicalRecordsFrom.xx" style="width: 60px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>Rh</div>
                <div v-if="checkObject.rh">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.rh.content" :visible="checkObject.rh.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','rh')">{{checkObject.rh.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.rh" filterable :remote="readOnly" style="width: 80px" :placeholder="readOnly ? ' ' : '请选择Rh'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.rhOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>科主任</div>
                <div v-if="checkObject.kzr">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.kzr.content" :visible="checkObject.kzr.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','kzr')">{{checkObject.kzr.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.kzr" :content="medicalRecordsFrom.kzr" placement="top">
                  <el-input v-model="medicalRecordsFrom.kzr" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>主（副主）任医师</div>
                <div v-if="checkObject.zrys">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zrys.content" :visible="checkObject.zrys.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zrys')">{{checkObject.zrys.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zrys" :content="medicalRecordsFrom.zrys" placement="top">
                  <el-input v-model="medicalRecordsFrom.zrys" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>主治医师</div>
                <div v-if="checkObject.zzys">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zzys.content" :visible="checkObject.zzys.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zzys')">{{checkObject.zzys.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zzys" :content="medicalRecordsFrom.zzys" placement="top">
                  <el-input v-model="medicalRecordsFrom.zzys" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>住院医师</div>
                <div v-if="checkObject.zyys">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zyys.content" :visible="checkObject.zyys.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zyys')">{{checkObject.zyys.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zyys" :content="medicalRecordsFrom.zyys" placement="top">
                  <el-input v-model="medicalRecordsFrom.zyys" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>

          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>责任护士</div>
                <div v-if="checkObject.zrhs">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zrhs.content" :visible="checkObject.zrhs.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zrhs')">{{checkObject.zrhs.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zrhs" :content="medicalRecordsFrom.zrhs" placement="top">
                  <el-input v-model="medicalRecordsFrom.zrhs" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>进修医师</div>
                <div v-if="checkObject.jxys">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.jxys.content" :visible="checkObject.jxys.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','jxys')">{{checkObject.jxys.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.jxys" :content="medicalRecordsFrom.jxys" placement="top">
                  <el-input v-model="medicalRecordsFrom.jxys" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>实习医师</div>
                <div v-if="checkObject.sxys">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.sxys.content" :visible="checkObject.sxys.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','sxys')">{{checkObject.sxys.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.sxys" :content="medicalRecordsFrom.sxys" placement="top">
                  <el-input v-model="medicalRecordsFrom.sxys" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>编码员</div>
                <div v-if="checkObject.bmy">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.bmy.content" :visible="checkObject.bmy.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','bmy')">{{checkObject.bmy.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.bmy" :content="medicalRecordsFrom.bmy" placement="top">
                  <el-input v-model="medicalRecordsFrom.bmy" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>责任护士</div>
                <div v-if="checkObject.zrhs">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zrhs.content" :visible="checkObject.zrhs.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zrhs')">{{checkObject.zrhs.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zrhs" :content="medicalRecordsFrom.zrhs" placement="top">
                  <el-input v-model="medicalRecordsFrom.zrhs" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>进修医师</div>
                <div v-if="checkObject.jxys">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.jxys.content" :visible="checkObject.jxys.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','jxys')">{{checkObject.jxys.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.jxys" :content="medicalRecordsFrom.jxys" placement="top">
                  <el-input v-model="medicalRecordsFrom.jxys" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>实习医师</div>
                <div v-if="checkObject.sxys">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.sxys.content" :visible="checkObject.sxys.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','sxys')">{{checkObject.sxys.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.sxys" :content="medicalRecordsFrom.sxys" placement="top">
                  <el-input v-model="medicalRecordsFrom.sxys" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>编码员</div>
                <div v-if="checkObject.bmy">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.bmy.content" :visible="checkObject.bmy.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','bmy')">{{checkObject.bmy.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.bmy" :content="medicalRecordsFrom.bmy" placement="top">
                  <el-input v-model="medicalRecordsFrom.bmy" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>

          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>病案质量</div>
                <div v-if="checkObject.bazl">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.bazl.content" :visible="checkObject.bazl.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','bazl')">{{checkObject.bazl.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.bazl" filterable :remote="readOnly" style="width: 120px" :placeholder="readOnly ? ' ' : '请选择病案质量'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.bazlOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>质控医师</div>
                <div v-if="checkObject.zkys">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zkys.content" :visible="checkObject.zkys.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zkys')">{{checkObject.zkys.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zkys" :content="medicalRecordsFrom.zkys" placement="top">
                  <el-input v-model="medicalRecordsFrom.zkys" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>质控护士</div>
                <div v-if="checkObject.zkhs">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zkhs.content" :visible="checkObject.zkhs.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zkhs')">{{checkObject.zkhs.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zkhs" :content="medicalRecordsFrom.zkhs" placement="top">
                  <el-input v-model="medicalRecordsFrom.zkhs" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>质控日期</div>
                <div v-if="checkObject.zkrq">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zkrq.content" :visible="checkObject.zkrq.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zkrq')">{{checkObject.zkrq.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zkrq" :content="medicalRecordsFrom.zkrq" placement="top">
                  <el-input v-model="medicalRecordsFrom.zkrq" style="width: 120px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>

          <!-- 手术表格 -->
          <el-row class="row-table row-table-head">
            <el-col :span="3" class="col-table-head">
              <div class="from-item-label col-table-text">手术、操作编码</div>
            </el-col>
            <el-col :span="2" class="col-table-head">
              <div class="from-item-label col-table-text">手术、操作日期</div>
            </el-col>
            <el-col :span="2" class="col-table-head">
              <div class="from-item-label col-table-text">手术级别</div>
            </el-col>
            <el-col :span="3" class="col-table-head">
              <div class="from-item-label col-table-text">手术、操作名称</div>
            </el-col>
            <el-col :span="6" style="margin-bottom: 0px;">
              <el-row>
                <el-col :span="24" class="col-table-head">
                  <div class="from-item-label col-table-text">手术、操作医师</div>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="8" class="col-table">
                  <div class="from-item-label col-table-text">手术、操作医师</div>
                </el-col>
                <el-col :span="8" class="col-table">
                  <div class="from-item-label col-table-text">手术、操作医师</div>
                </el-col>
                <el-col :span="8" class="col-table">
                  <div class="from-item-label col-table-text">手术、操作医师</div>
                </el-col>
              </el-row>
            </el-col>
            <el-col :span="2" class="col-table-head">
              <div class="from-item-label col-table-text">切口等级</div>
            </el-col>
            <el-col :span="2" class="col-table-head">
              <div class="from-item-label col-table-text">切口愈合类别</div>
            </el-col>
            <el-col :span="2" class="col-table-head">
              <div class="from-item-label col-table-text">麻醉方式</div>
            </el-col>
            <el-col :span="2" class="col-table-head">
              <div class="from-item-label col-table-text">麻醉医师</div>
            </el-col>
          </el-row>
          <el-row v-for="i in 20" class="row-table">
            <el-col :span="3" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['ssjczbm'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['ssjczbm'+i].content" :visible="checkObject['ssjczbm'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ssjczbm'+i)">{{checkObject['ssjczbm'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['ssjczbm'+i]" :content="medicalRecordsFrom['ssjczbm'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['ssjczbm'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['ssjczrq'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['ssjczrq'+i].content" :visible="checkObject['ssjczrq'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ssjczrq'+i)">{{checkObject['ssjczrq'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['ssjczrq'+i]" :content="medicalRecordsFrom['ssjczrq'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['ssjczrq'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['ssjb'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['ssjb'+i].content" :visible="checkObject['ssjb'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ssjb'+i)">{{checkObject['ssjb'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['ssjb'+i]" :content="medicalRecordsFrom['ssjb'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['ssjb'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="3" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['ssjczmc'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['ssjczmc'+i].content" :visible="checkObject['ssjczmc'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ssjczmc'+i)">{{checkObject['ssjczmc'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['ssjczmc'+i]" :content="medicalRecordsFrom['ssjczmc'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['ssjczmc'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['sz'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['sz'+i].content" :visible="checkObject['sz'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','sz'+i)">{{checkObject['sz'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['sz'+i]" :content="medicalRecordsFrom['sz'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['sz'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['yz'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['yz'+i].content" :visible="checkObject['yz'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','yz'+i)">{{checkObject['yz'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['yz'+i]" :content="medicalRecordsFrom['yz'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['yz'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['ez'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['ez'+i].content" :visible="checkObject['ez'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ez'+i)">{{checkObject['ez'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['ez'+i]" :content="medicalRecordsFrom['ez'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['ez'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['qkdj'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['qkdj'+i].content" :visible="checkObject['qkdj'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','qkdj'+i)">{{checkObject['qkdj'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['qkdj'+i]" :content="medicalRecordsFrom['qkdj'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['qkdj'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['qkyhlb'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['qkyhlb'+i].content" :visible="checkObject['qkyhlb'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','qkyhlb'+i)">{{checkObject['qkyhlb'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['qkyhlb'+i]" :content="medicalRecordsFrom['qkyhlb'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['qkyhlb'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['mzfs'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['mzfs'+i].content" :visible="checkObject['mzfs'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','mzfs'+i)">{{checkObject['mzfs'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['mzfs'+i]" :content="medicalRecordsFrom['mzfs'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['mzfs'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
            <el-col :span="2" class="col-table">
              <el-form-item class="medical-form-item">
                <template #label>
                  <div v-if="checkObject['mzys'+i]">
                    <el-popover placement="bottom" trigger="click" :content="checkObject['mzys'+i].content" :visible="checkObject['mzys'+i].visible">
                      <template #reference>
                        <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','mzys'+i)">{{checkObject['mzys'+i].label}}</el-button>
                      </template>
                    </el-popover>
                  </div>
                </template>
                <div class="from-item-value-table">
                  <el-tooltip :disabled="!medicalRecordsFrom['mzys'+i]" :content="medicalRecordsFrom['mzys'+i]" placement="top">
                    <el-input v-model="medicalRecordsFrom['mzys'+i]" style="width: 100%" :disabled="readOnly"></el-input>
                  </el-tooltip>
                </div>
              </el-form-item>
            </el-col>
          </el-row>

          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>离院方式</div>
                <div v-if="checkObject.lyfs">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.lyfs.content" :visible="checkObject.lyfs.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','lyfs')">{{checkObject.lyfs.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.lyfs" filterable :remote="readOnly" style="width: 300px" :placeholder="readOnly ? ' ' : '请选择离院方式'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.lyfsOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>拟接受医疗机构</div>
                <div v-if="checkObject.yzzy_yljg">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.yzzy_yljg.content" :visible="checkObject.yzzy_yljg.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','yzzy_yljg')">{{checkObject.yzzy_yljg.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.yzzy_yljg" :content="medicalRecordsFrom.yzzy_yljg" placement="top">
                  <el-input v-model="medicalRecordsFrom.yzzy_yljg" style="width: 300px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>

          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>是否有出院31天内再住院计划</div>
                <div v-if="checkObject.sfzzyjh">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.sfzzyjh.content" :visible="checkObject.sfzzyjh.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','sfzzyjh')">{{checkObject.sfzzyjh.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-select v-model="medicalRecordsFrom.sfzzyjh" filterable :remote="readOnly" style="width: 100px" :placeholder="readOnly ? ' ' : '请选择离院方式'" :disabled="readOnly">
                  <el-option v-for="item in optionsList.sfzzyjhOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
                </el-select>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>目的</div>
                <div v-if="checkObject.md">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.md.content" :visible="checkObject.md.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','md')">{{checkObject.md.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.yzzy_yljg" :content="medicalRecordsFrom.md" placement="top">
                  <el-input v-model="medicalRecordsFrom.md" style="width: 400px" :disabled="readOnly"></el-input>
                </el-tooltip>
              </div>
            </el-form-item>
          </el-row>

          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>颅脑损伤患者昏迷时间 入院前</div>
                <div v-if="checkObject.ryq_t">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.ryq_t.content" :visible="checkObject.ryq_t.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ryq_t')">{{checkObject.ryq_t.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.ryq_t" :content="medicalRecordsFrom.ryq_t+''" placement="top">
                  <el-input-number :controls="false" :precision="0" v-model="medicalRecordsFrom.ryq_t" style="width: 60px" :disabled="readOnly"></el-input-number>
                </el-tooltip>
              </div>
              <div class="from-item-label">天</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div v-if="checkObject.ryq_xs">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.ryq_xs.content" :visible="checkObject.ryq_xs.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ryq_xs')">{{checkObject.ryq_xs.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.ryq_xs" :content="medicalRecordsFrom.ryq_xs+''" placement="top">
                  <el-input-number :controls="false" :precision="0" v-model="medicalRecordsFrom.ryq_xs" style="width: 60px" :disabled="readOnly"></el-input-number>
                </el-tooltip>
              </div>
              <div class="from-item-label">小时</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div v-if="checkObject.ryq_f">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.ryq_f.content" :visible="checkObject.ryq_f.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ryq_f')">{{checkObject.ryq_f.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.ryq_f" :content="medicalRecordsFrom.ryq_f+''" placement="top">
                  <el-input-number :controls="false" :precision="0" v-model="medicalRecordsFrom.ryq_f" style="width: 60px" :disabled="readOnly"></el-input-number>
                </el-tooltip>
              </div>
              <div class="from-item-label">分钟</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>入院后</div>
                <div v-if="checkObject.ryh_t">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.ryh_t.content" :visible="checkObject.ryh_t.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ryh_t')">{{checkObject.ryh_t.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.ryh_t" :content="medicalRecordsFrom.ryh_t+''" placement="top">
                  <el-input-number :controls="false" :precision="0" v-model="medicalRecordsFrom.ryh_t" style="width: 60px" :disabled="readOnly"></el-input-number>
                </el-tooltip>
              </div>
              <div class="from-item-label">天</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div v-if="checkObject.ryh_xs">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.ryh_xs.content" :visible="checkObject.ryh_xs.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ryh_xs')">{{checkObject.ryh_xs.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.ryh_t" :content="medicalRecordsFrom.ryh_t+''" placement="top">
                  <el-input-number :controls="false" :precision="0" v-model="medicalRecordsFrom.ryh_xs" style="width: 60px" :disabled="readOnly"></el-input-number>
                </el-tooltip>
              </div>
              <div class="from-item-label">小时</div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div v-if="checkObject.ryh_f">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.ryh_f.content" :visible="checkObject.ryh_f.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ryh_f')">{{checkObject.ryh_f.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.ryh_f" :content="medicalRecordsFrom.ryh_f+''" placement="top">
                  <el-input-number :controls="false" :precision="0" v-model="medicalRecordsFrom.ryh_f" style="width: 60px" :disabled="readOnly"></el-input-number>
                </el-tooltip>
              </div>
              <div class="from-item-label">分钟</div>
            </el-form-item>
          </el-row>
          <el-row>
            <el-form-item class="medical-form-item">
              <template #label>
                <div>住院费用（元） 总费用</div>
                <div v-if="checkObject.zfy">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zfy.content" :visible="checkObject.zfy.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zfy')">{{checkObject.zfy.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zfy" :content="medicalRecordsFrom.zfy+''" placement="top">
                  <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.zfy" style="width: 200px" :disabled="readOnly"></el-input-number>
                </el-tooltip>
              </div>
            </el-form-item>
            
            <el-form-item class="medical-form-item">
              <template #label>
                <div>（自付金额</div>
                <div v-if="checkObject.zfje">
                  <el-popover placement="bottom" trigger="click" :content="checkObject.zfje.content" :visible="checkObject.zfje.visible">
                    <template #reference>
                      <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zfje')">{{checkObject.zfje.label}}</el-button>
                    </template>
                  </el-popover>
                </div>
              </template>
              <div class="from-item-value">
                <el-tooltip :disabled="!medicalRecordsFrom.zfje" :content="medicalRecordsFrom.zfje+''" placement="top">
                  <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.zfje" style="width: 200px" :disabled="readOnly"></el-input-number>
                </el-tooltip>
              </div>
              <div class="from-item-label">{{')'}}</div>
            </el-form-item>
          </el-row>
                    <!-- 费用 -->
          <!-- 1.综合医疗服务类 -->
          <el-row>
            <el-col :span="4" class="row-table row-table-head col-table-head">
              <div class="from-item-label col-table-fee-text">1.综合医疗服务类：</div>
            </el-col>
            <el-col :span="20" style="margin-bottom: 0px;">
              <el-row class="col-table-head">
                <el-form-item class="medical-form-item">
                  <template #label>
                    <div>（1）一般服务费：</div>
                    <div v-if="checkObject.ylfuf">
                      <el-popover placement="bottom" trigger="click" :content="checkObject.ylfuf.content" :visible="checkObject.ylfuf.visible">
                        <template #reference>
                          <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','ylfuf')">{{checkObject.ylfuf.label}}</el-button>
                        </template>
                      </el-popover>
                    </div>
                  </template>
                  <div class="from-item-value">
                    <el-tooltip :disabled="!medicalRecordsFrom.ylfuf" :content="medicalRecordsFrom.ylfuf+''" placement="top">
                      <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.ylfuf" style="width: 200px" :disabled="readOnly"></el-input-number>
                    </el-tooltip>
                  </div>
                </el-form-item>
                <el-form-item class="medical-form-item">
                  <template #label>
                    <div>（2）一般治疗操作费：</div>
                    <div v-if="checkObject.zlczf">
                      <el-popover placement="bottom" trigger="click" :content="checkObject.zlczf.content" :visible="checkObject.zlczf.visible">
                        <template #reference>
                          <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','zlczf')">{{checkObject.zlczf.label}}</el-button>
                        </template>
                      </el-popover>
                    </div>
                  </template>
                  <div class="from-item-value">
                    <el-tooltip :disabled="!medicalRecordsFrom.zlczf" :content="medicalRecordsFrom.zlczf+''" placement="top">
                      <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.zlczf" style="width: 200px" :disabled="readOnly"></el-input-number>
                    </el-tooltip>
                  </div>
                </el-form-item>
              </el-row>

              <el-row class="col-table">
                <el-form-item class="medical-form-item">
                  <template #label>
                    <div>（3）护理费：</div>
                    <div v-if="checkObject.hlf">
                      <el-popover placement="bottom" trigger="click" :content="checkObject.hlf.content" :visible="checkObject.hlf.visible">
                        <template #reference>
                          <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','hlf')">{{checkObject.hlf.label}}</el-button>
                        </template>
                      </el-popover>
                    </div>
                  </template>
                  <div class="from-item-value">
                    <el-tooltip :disabled="!medicalRecordsFrom.hlf" :content="medicalRecordsFrom.hlf+''" placement="top">
                      <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.hlf" style="width: 200px" :disabled="readOnly"></el-input-number>
                    </el-tooltip>
                  </div>
                </el-form-item>
                <el-form-item class="medical-form-item">
                  <template #label>
                    <div>（4）其他费用：</div>
                    <div v-if="checkObject.qtfy">
                      <el-popover placement="bottom" trigger="click" :content="checkObject.qtfy.content" :visible="checkObject.qtfy.visible">
                        <template #reference>
                          <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','qtfy')">{{checkObject.qtfy.label}}</el-button>
                        </template>
                      </el-popover>
                    </div>
                  </template>
                  <div class="from-item-value">
                    <el-tooltip :disabled="!medicalRecordsFrom.qtfy" :content="medicalRecordsFrom.qtfy+''" placement="top">
                      <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.qtfy" style="width: 200px" :disabled="readOnly"></el-input-number>
                    </el-tooltip>
                  </div>
                </el-form-item>
              </el-row>
            </el-col>
          </el-row>
          <!-- 2.诊断类： -->
          <el-row>
            <el-col :span="4" class="row-table row-table-head col-table">
              <div class="from-item-label col-table-fee-text">2.诊断类：</div>
            </el-col>
            <el-col :span="20" style="margin-bottom: 0px;">
              <el-row class="col-table">
                <el-form-item class="medical-form-item">
                  <template #label>
                    <div>（5）病理诊断费：</div>
                    <div v-if="checkObject.blzdf">
                      <el-popover placement="bottom" trigger="click" :content="checkObject.blzdf.content" :visible="checkObject.blzdf.visible">
                        <template #reference>
                          <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','blzdf')">{{checkObject.blzdf.label}}</el-button>
                        </template>
                      </el-popover>
                    </div>
                  </template>
                  <div class="from-item-value">
                    <el-tooltip :disabled="!medicalRecordsFrom.blzdf" :content="medicalRecordsFrom.blzdf+''" placement="top">
                      <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.blzdf" style="width: 200px" :disabled="readOnly"></el-input-number>
                    </el-tooltip>
                  </div>
                </el-form-item>
                <el-form-item class="medical-form-item">
                  <template #label>
                    <div>（6）试验室诊断费：</div>
                    <div v-if="checkObject.syszdf">
                      <el-popover placement="bottom" trigger="click" :content="checkObject.syszdf.content" :visible="checkObject.syszdf.visible">
                        <template #reference>
                          <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','syszdf')">{{checkObject.syszdf.label}}</el-button>
                        </template>
                      </el-popover>
                    </div>
                  </template>
                  <div class="from-item-value">
                    <el-tooltip :disabled="!medicalRecordsFrom.syszdf" :content="medicalRecordsFrom.syszdf+''" placement="top">
                      <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.syszdf" style="width: 200px" :disabled="readOnly"></el-input-number>
                    </el-tooltip>
                  </div>
                </el-form-item>
              </el-row>

              <el-row class="col-table">
                <el-form-item class="medical-form-item">
                  <template #label>
                    <div>（7）影像学诊断费：</div>
                    <div v-if="checkObject.yxxzdf">
                      <el-popover placement="bottom" trigger="click" :content="checkObject.yxxzdf.content" :visible="checkObject.yxxzdf.visible">
                        <template #reference>
                          <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','yxxzdf')">{{checkObject.yxxzdf.label}}</el-button>
                        </template>
                      </el-popover>
                    </div>
                  </template>
                  <div class="from-item-value">
                    <el-tooltip :disabled="!medicalRecordsFrom.yxxzdf" :content="medicalRecordsFrom.yxxzdf+''" placement="top">
                      <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.yxxzdf" style="width: 200px" :disabled="readOnly"></el-input-number>
                    </el-tooltip>
                  </div>
                </el-form-item>
                <el-form-item class="medical-form-item">
                  <template #label>
                    <div>（8）临床诊断项目费：</div>
                    <div v-if="checkObject.lczdxmf">
                      <el-popover placement="bottom" trigger="click" :content="checkObject.lczdxmf.content" :visible="checkObject.lczdxmf.visible">
                        <template #reference>
                          <el-button class="medical-records-popover-button" @click="upCheckObjectVisible('checkObject','lczdxmf')">{{checkObject.lczdxmf.label}}</el-button>
                        </template>
                      </el-popover>
                    </div>
                  </template>
                  <div class="from-item-value">
                    <el-tooltip :disabled="!medicalRecordsFrom.lczdxmf" :content="medicalRecordsFrom.lczdxmf+''" placement="top">
                      <el-input-number :controls="false" :precision="2" v-model="medicalRecordsFrom.lczdxmf" style="width: 200px" :disabled="readOnly"></el-input-number>
                    </el-tooltip>
                  </div>
                </el-form-item>
              </el-row>
            </el-col>
          </el-row>



        </div>




      </el-form>
    </el-scrollbar>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import { checkObject } from '@/utils/checkObject'

export default {
  name: 'MedicalRecordsList',
  data() {
    return {
      medicalRecordsFrom: {
        glh: '',
        ylfkfs: '',
        jkkh: '',
        zycs: '',
        bah: ''
      },
      rules: {
        glh: [{ required: true, message: '住院流水号不能为空', trigger: 'blur' }],
        ylfkfs: [{ required: true, message: '医疗付费方式不能为空', trigger: 'blur' }],
        zycs: [{ required: true, message: '住院次数不能为空', trigger: 'blur' }],
        bah: [{ required: true, message: '病案号不能为空', trigger: 'blur' }],
        nl: [{ required: true, message: '年龄不能为空', trigger: 'blur' }],
        zy: [{ required: true, message: '职业不能为空', trigger: 'blur' }],
        rysj: [{ required: true, message: '入院时间不能为空', trigger: 'blur' }],
        cysj: [{ required: true, message: '出院时间不能为空', trigger: 'blur' }],
      },
      optionsList: {
        ylfkfsOptions: [
          { value: '01', label: '自费' },
          { value: '02', label: '医保统筹' },
          { value: '03', label: '公费' },
          { value: '04', label: '其他' }
        ]
      },
      checkObject: {
        glh: {
          label: '住院流水号',
          content: '住院流水号是唯一的，由医院生成，用于标识每一病人的住院记录。',
          visible: false
        },
        ylfkfs: {
          label: '医疗付费方式',
          content: '医疗付费方式是指医疗费用由医院直接支付给病人，还是由病人自费或由其他支付方式支付。',
          visible: false
        },
        jkkh: {
          label: '健康卡号',
          content: '健康卡号是由医院发放的，用于病人身份确认和医疗费用结算。',
          visible: false
        },
        zycs: {
          label: '住院次数',
          content: '住院次数是指病人在医院住院的次数。',
          visible: false
        },
        bah: {
          label: '病案号',
          content: '病案号是由医院生成的唯一标识，用于标识病人的病历。',
          visible: false
        }
      }
    }
  },
  computed: {
    ...mapGetters(['readOnly'])
  },
  methods: {
    upCheckObjectVisible(obj, key) {
      this.$set(this[obj][key], 'visible', !this[obj][key].visible)
    }
  }
}


</script>

<style scoped></style>